package com.ruoyi.project.cltmanage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CltCharge extends BaseEntity {
    private int dct_charge_id;//主键
    private int dct_order_id;//挂号ID
    private int dct_order_code;//病例编号
    private String dct_main;//主诉
    private String dct_patient_name;//患者姓名
    private String dct_office_name;//科室名称
    private String dct_doctor_name;//医生姓名
    private String dct_doctor_advice;//医生建议
    private int dct_prescription_type;//处方类型 1 检查处方 2药品处方
    private String  dct_prescription_name;//处方名称
    private int  dct_prescription_single_price;//处方单价
    private int dct_prescription_num;//处方数量
    private int dct_prescription_cost;//处方金额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dct_time;//就诊时间
    private String dct_remark;//服用备注
    private int dct_cost_status;//支付状态 0未支付 1已支付
    private int dct_cost_type;//支付类型 0 空 1 支付宝 2现金
    private int dct_patient_id;//患者ID(外键)

    private Integer sum;



}
